package cn.attackme.myuploader.dao;

import cn.attackme.myuploader.model.Indicator;
import com.mysql.cj.x.protobuf.MysqlxDatatypes;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface IndicatorDao {

    Indicator getIndicator(Long id);

    int save(Indicator indicator);

    int update(Indicator indicator);

    int deleteById(Long id);

    List<Map<String, Object>> allList();

    Indicator getIndicatorByName(String name);
}
